sysroot: Handle deleting directories in /etc
authorColin Walters <walters@verbum.org>
Tue, 15 Oct 2013 18:11:43 +0000 (14:11 -0400)
committerColin Walters <walters@verbum.org>
Tue, 15 Oct 2013 18:56:43 +0000 (14:56 -0400)
commitb2a98f4ca3a8fcaa0c3c29ce8280c3f5a71a0464
treee8fc870d81436a837e871c95473e3001a102caab
parent3b700ccb504b4608cfc533ec4fd3645b4a33918a
sysroot: Handle deleting directories in /etc

We need to use the full shutil_rm_rf() in order to actually delete
complete directories.

Test suite code based on a patch from Sjoerd Simons <sjored@luon.net>

https://bugzilla.gnome.org/show_bug.cgi?id=710097
src/libostree/ostree-sysroot-deploy.c
tests/libtest.sh
tests/test-admin-deploy-1.sh